package com.xhs.service;

import com.xhs.dto.request.DownloadFileRequest;
import com.xhs.message.ReturnResult;

/**
 * @desc:
 * @projectName: tools-parent
 * @author: xhs
 * @date: 2022/12/3 22:11
 * @version: JDK 1.8
 */
public interface DownloadFileService {

    /**
     * 根据url从服务器下载文件到指定位置
     *
     * @param downloadFileRequest
     * @return
     */
    ReturnResult<Object> downloadFile(DownloadFileRequest downloadFileRequest);
}
